<?php

use think\migration\Seeder;

class BasicControlPointData extends Seeder
{
    /**
     * 基本 - 环境控制地点
     */
    public function run()
    {
        $table = $this->table('basic_control_point');
        $rows  = [
            [
                'id'   => '1',
                'name'   => '国控点',
            ],
            [
                'id'   => '2',
                'name'   => '省控点',
            ],
            [
                'id'   => '3',
                'name'   => '市控点',
            ],
        ];
        $table->insert($rows)->save();
    }
}